Skip to content

fix(vdev): replace script wrapper macro with shared argument utility - #26469

Merged
pront merged 1 commit into
masterfrom
pront-vdev-script-args
Oct 6, 2026
Merged

pront merged 1 commit into
masterfrom
pront-vdev-script-args

Conversation

@pront

@pront pront commented Sep 23, 2026

Copy link
Copy Markdown
Member

Summary

Motivation

Script-backed vdev commands reject flags such as vdev build manifests --chart-version ... before the underlying script runs.

Changes

Replace script_wrapper! with a shared ScriptArgs utility and explicit command-to-script mappings. All eight commands accept trailing hyphenated arguments, while preserving vdev help and explicit -- forwarding.

How did you test this PR?

  • Reproduced the original parsing failure with the new regression test before applying the fix.
  • make check-clippy passed across the workspace.
  • make test, scoped to vdev by excluding the other workspace packages: 207 tests passed.
  • Stub-script execution checks verified all eight mappings, argument boundaries, repository working directory, and error propagation.

Does this PR include user facing changes?

  • Yes.
  • No. Developer tooling only; no changelog required.

@github-actions github-actions Bot added the domain: vdev Anything related to the vdev tooling label Sep 23, 2026
@pront
pront marked this pull request as ready for review September 23, 2026 20:51
@pront
pront requested a review from a team as a code owner September 23, 2026 20:51
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-06T19:14:02.792017Z 8a85b6f New commits
🔒 Security Review ✅ Completed 2026-10-06T19:14:34.319444Z 8a85b6f New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pront pront added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Sep 23, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 870ae697c3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread vdev/src/commands/build/mod.rs Outdated

@datadoghq-integration datadoghq-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bits Code Review: PASS

More details

The shared argument utility keeps the script mappings. It sends trailing hyphenated arguments to each script without a concrete failure mode.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 870ae69 · @DataDog review to ask questions

@pront
pront force-pushed the pront-vdev-script-args branch from 7f14b14 to 8a85b6f Compare October 6, 2026 19:12
@pront
pront added this pull request to the merge queue Oct 6, 2026
Merged via the queue into master with commit eaae472 Oct 6, 2026
105 checks passed
@pront
pront deleted the pront-vdev-script-args branch October 6, 2026 20:35
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

domain: vdev Anything related to the vdev tooling no-changelog Changes in this PR do not need user-facing explanations in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants